export default (state = [], action) => {
  switch (action.type) {
    case 'GET_ASSIGNMENT_QUIZZES_BY_QUIZ_IDS':
      return [...action.data]

    case 'CLEAR_SELECTED_QUIZZES':
      return []

    default:
      return state
  }
}